/*package com.suning.sawp.web.controller;

import java.io.IOException;
import java.security.Principal;
import java.util.Arrays;
import java.util.List;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.suning.sawp.exception.MobileException;
import com.suning.sawp.intf.storeman.UserShopGuideService;
*//**
 * 
 * 云导购消费者用户相关联业务接口<br> 
 * 〈功能详细描述〉
 *
 * @author 12061818
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 *//*
@Controller
@RequestMapping("/shopguide")
public class UserShopGuideController extends DjBaseController {
    
    private static final Logger LOGGER = LoggerFactory.getLogger(UserShopGuideController.class);
    
    @Resource
    UserShopGuideService userShopGuideService;
    
    *//**
     * 
     * 功能描述: 获取单个云导购用户（消费者）属性<br>
     * 〈功能详细描述〉
     *
     * @param userId
     * @return
     * @see [相关类/方法](可选)
     * @since [产品/模块版本](可选)
     *//*
    @RequestMapping("/getUserProfile.do")
    @ResponseBody
    public String getUserProfile(String userId) {
        return userShopGuideService.getUserProfile(userId);
    }
    
    *//**
     * 
     * 功能描述: 批量获取云导购用户（消费者）属性<br>
     * 〈功能详细描述〉
     *
     * @param userIds
     * @return
     * @see [相关类/方法](可选)
     * @since [产品/模块版本](可选)
     *//*
    @RequestMapping("/getMulitUserProfiles.do")
    @ResponseBody
    public String getMulitUserProfiles(String userIds) {
        String[] userIdArray = userIds.split(",");
        List<String> userIdList = Arrays.asList(userIdArray);
        return userShopGuideService.getMultiUserProfiles(userIdList);
    }
    
    *//**
     * 
     * 功能描述: 查询好友类表
     *
     * @param req
     * @param res
     * @throws MobileException
     * @throws IOException
     * @see [相关类/方法](可选)
     * @since [产品/模块版本](可选)
     *//*
    @RequestMapping("/getFriends.do")
    public void queryUserFriends(HttpServletRequest req, HttpServletResponse res
            , Principal principal) throws MobileException, IOException {
        String userId = principal.getName();
        String followUserIds = req.getParameter("followUserIds");

        LOGGER.debug("查询好友列表,入数userId:{},followUserIds{}", userId, followUserIds);

        // 业务查询
        writeJsonToResponse(userShopGuideService.queryFriendList(userId, followUserIds), res);

    }
}
*/